Optimal. Leaf size=165 \[ -\frac {3 \left (c \sin ^3(a+b x)\right )^{2/3}}{8 b^4}+\frac {3 x^2 \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^2}+\frac {3 x \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^3}-\frac {x^3 \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{2 b}-\frac {3 x^2 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{8 b^2}+\frac {1}{8} x^4 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.13, antiderivative size = 165, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.222, Rules used = {6852, 3392, 30,
3391} \begin {gather*} -\frac {3 \left (c \sin ^3(a+b x)\right )^{2/3}}{8 b^4}+\frac {3 x \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^3}+\frac {3 x^2 \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^2}-\frac {3 x^2 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{8 b^2}+\frac {1}{8} x^4 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}-\frac {x^3 \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{2 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 30
Rule 3391
Rule 3392
Rule 6852
Rubi steps
\begin {align*} \int x^3 \left (c \sin ^3(a+b x)\right )^{2/3} \, dx &=\left (\csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}\right ) \int x^3 \sin ^2(a+b x) \, dx\\ &=\frac {3 x^2 \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^2}-\frac {x^3 \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{2 b}+\frac {1}{2} \left (\csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}\right ) \int x^3 \, dx-\frac {\left (3 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}\right ) \int x \sin ^2(a+b x) \, dx}{2 b^2}\\ &=-\frac {3 \left (c \sin ^3(a+b x)\right )^{2/3}}{8 b^4}+\frac {3 x^2 \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^2}+\frac {3 x \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^3}-\frac {x^3 \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{2 b}+\frac {1}{8} x^4 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}-\frac {\left (3 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}\right ) \int x \, dx}{4 b^2}\\ &=-\frac {3 \left (c \sin ^3(a+b x)\right )^{2/3}}{8 b^4}+\frac {3 x^2 \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^2}+\frac {3 x \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{4 b^3}-\frac {x^3 \cot (a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{2 b}-\frac {3 x^2 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}}{8 b^2}+\frac {1}{8} x^4 \csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.20, size = 79, normalized size = 0.48 \begin {gather*} \frac {\csc ^2(a+b x) \left (c \sin ^3(a+b x)\right )^{2/3} \left (2 b^4 x^4+\left (3-6 b^2 x^2\right ) \cos (2 (a+b x))+\left (6 b x-4 b^3 x^3\right ) \sin (2 (a+b x))\right )}{16 b^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains complex when optimal does not.
time = 0.11, size = 208, normalized size = 1.26
method | result | size |
risch | \(-\frac {x^{4} \left (i c \left ({\mathrm e}^{2 i \left (b x +a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b x +a \right )}\right )^{\frac {2}{3}} {\mathrm e}^{2 i \left (b x +a \right )}}{8 \left ({\mathrm e}^{2 i \left (b x +a \right )}-1\right )^{2}}-\frac {i \left (4 b^{3} x^{3}+6 i b^{2} x^{2}-6 b x -3 i\right ) \left (i c \left ({\mathrm e}^{2 i \left (b x +a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b x +a \right )}\right )^{\frac {2}{3}} {\mathrm e}^{4 i \left (b x +a \right )}}{32 b^{4} \left ({\mathrm e}^{2 i \left (b x +a \right )}-1\right )^{2}}+\frac {i \left (i c \left ({\mathrm e}^{2 i \left (b x +a \right )}-1\right )^{3} {\mathrm e}^{-3 i \left (b x +a \right )}\right )^{\frac {2}{3}} \left (4 b^{3} x^{3}-6 i b^{2} x^{2}-6 b x +3 i\right )}{32 \left ({\mathrm e}^{2 i \left (b x +a \right )}-1\right )^{2} b^{4}}\) | \(208\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 286 vs.
\(2 (141) = 282\).
time = 0.57, size = 286, normalized size = 1.73 \begin {gather*} -\frac {32 \, {\left (c^{\frac {2}{3}} \arctan \left (\frac {\sin \left (b x + a\right )}{\cos \left (b x + a\right ) + 1}\right ) - \frac {\frac {c^{\frac {2}{3}} \sin \left (b x + a\right )}{\cos \left (b x + a\right ) + 1} - \frac {c^{\frac {2}{3}} \sin \left (b x + a\right )^{3}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{3}}}{\frac {2 \, \sin \left (b x + a\right )^{2}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{2}} + \frac {\sin \left (b x + a\right )^{4}}{{\left (\cos \left (b x + a\right ) + 1\right )}^{4}} + 1}\right )} a^{3} + 6 \, {\left (2 \, {\left (b x + a\right )}^{2} - 2 \, {\left (b x + a\right )} \sin \left (2 \, b x + 2 \, a\right ) - \cos \left (2 \, b x + 2 \, a\right )\right )} a^{2} c^{\frac {2}{3}} - 2 \, {\left (4 \, {\left (b x + a\right )}^{3} - 6 \, {\left (b x + a\right )} \cos \left (2 \, b x + 2 \, a\right ) - 3 \, {\left (2 \, {\left (b x + a\right )}^{2} - 1\right )} \sin \left (2 \, b x + 2 \, a\right )\right )} a c^{\frac {2}{3}} + {\left (2 \, {\left (b x + a\right )}^{4} - 3 \, {\left (2 \, {\left (b x + a\right )}^{2} - 1\right )} \cos \left (2 \, b x + 2 \, a\right ) - 2 \, {\left (2 \, {\left (b x + a\right )}^{3} - 3 \, b x - 3 \, a\right )} \sin \left (2 \, b x + 2 \, a\right )\right )} c^{\frac {2}{3}}}{32 \, b^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 111, normalized size = 0.67 \begin {gather*} -\frac {{\left (2 \, b^{4} x^{4} + 6 \, b^{2} x^{2} - 6 \, {\left (2 \, b^{2} x^{2} - 1\right )} \cos \left (b x + a\right )^{2} - 4 \, {\left (2 \, b^{3} x^{3} - 3 \, b x\right )} \cos \left (b x + a\right ) \sin \left (b x + a\right ) - 3\right )} \left (-{\left (c \cos \left (b x + a\right )^{2} - c\right )} \sin \left (b x + a\right )\right )^{\frac {2}{3}}}{16 \, {\left (b^{4} \cos \left (b x + a\right )^{2} - b^{4}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int x^{3} \left (c \sin ^{3}{\left (a + b x \right )}\right )^{\frac {2}{3}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int x^3\,{\left (c\,{\sin \left (a+b\,x\right )}^3\right )}^{2/3} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________